﻿//
// Copyright (c) 2024 BPer
//

#include <bperdecoder/BPerAudioDecoder.h>

BPerAudioDecoder::BPerAudioDecoder() {
	m_context = NULL;
	m_isInit = 0;
	m_frameSize = 0;
	m_uid=-1;
	m_alen=0;
	m_dstBuffer=new uint8_t[4096];
	m_dstLen=0;
}

BPerAudioDecoder::~BPerAudioDecoder() {
	m_context = NULL;
	bPer_deleteA(m_dstBuffer);
}

